package user;

public class User {

	private int user_id;
	private String user_name;
	private String user_password;
	private String user_mobile;
	private int is_admin;
	
	public User() {
		super();
	}
	
	public User(String user_name, String user_password) {
		super();
		this.user_name = user_name;
		this.user_password = user_password;
	}

	public User(String user_name, String user_password, String user_mobile) {
		super();
		this.user_name = user_name;
		this.user_password = user_password;
		this.user_mobile = user_mobile;
	}

	
	public User(int user_id, String user_name, String user_password, String user_mobile, int is_admin) {
		super();
		this.user_id = user_id;
		this.user_name = user_name;
		this.user_password = user_password;
		this.user_mobile = user_mobile;
		this.is_admin = is_admin;
	}

	public int getUser_id() {
		return user_id;
	}
	public void setUser_id(int user_id) {
		this.user_id = user_id;
	}
	public String getUser_name() {
		return user_name;
	}
	public void setUser_name(String user_name) {
		this.user_name = user_name;
	}
	public String getUser_password() {
		return user_password;
	}

	public void setUser_password(String user_password) {
		this.user_password = user_password;
	}
	public String getUser_mobile() {
		return user_mobile;
	}
	public void setUser_mobile(String user_mobile) {
		this.user_mobile = user_mobile;
	}
	public int getIs_admin() {
		return is_admin;
	}
	public void setIs_admin(int is_admin) {
		this.is_admin = is_admin;
	}
	
	@Override
	public String toString() {
		return "User [user_id=" + user_id + ", user_name=" + user_name + ", user_password=" + user_password
				+ ", user_mobile=" + user_mobile + ", is_admin=" + is_admin + "]";
	}

}
